@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
  margin: 0;
}

ul {
  padding-inline-start: 0;
}

:root {
    margin: 0;
    padding: 0;

    --white: rgb(244,238,232);
    --yellow: rgb(251,184,0);
    --green: rgb(33,144,91);
    --red: rgb(223,72,24);
    --black: rgb(29,29,27);
    --grey50: rgb(128, 128, 128);
}

body {
  font-family: "neue-haas-unica", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}

p {
  line-height: 1.5em;
}

h1 {
  font-size: 55px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2em;
  text-wrap: balance;
}

h2 {
  font-size: 45px;
  font-weight: 400;
  letter-spacing: 0em;
  text-wrap: balance;
}

h3 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2em;
  margin-bottom: 0.8em;
}

a {
  text-decoration: none;
  color: inherit;
}

.mobile {
  display: none;
}




/************************   MENU   **************************/

header {
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 100;
  display: none;
}

#menu-bar {
  display: none;
  position: relative;
  height: 35px;
  margin-top: 20px;
  padding: 2px 10px;
  border-radius: 7px;
  gap: 4px;

  /* From https://css.glass */
  background: rgba(244, 238, 232, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(244, 238, 232, 0.3);
}

.menu-button {
  display: inline;
  font-size: 16px;
  line-height: 0em;
  padding: 1px 10px 4px 10px;
  border-radius: 5px;
  background-color: rgba(244,238,232,0);
  transition: all 0.2s ease;

}

.menu-button:hover {
  background-color: rgba(244,238,232,0.5);
  transition: all 0.2s ease;
}

/************************ HOMEPAGE **************************/



.yellow {
  background-color: var(--yellow);
}

.green {
  background-color: var(--green);
}

.white {
  background-color: var(--white);
}

p.grey {
  color: var(--grey50);
}

.max-width-content-grid {
  display: grid;
  grid-template-columns: 7vw 86vw 7vw;
}

#homepage-intro {
  height: 100vh;
}

.img-half-width {
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: row;
}

#homepage-intro .img-half-width {
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
}

.empty-half {
  flex: 1 1 auto;
  background-color: var(--yellow);
}

.yellow-hand {
  flex: 1 1 auto;
  background: url("images/hand-yellow-2.jpg") 50% 50%;
  background-size: cover;
    background-color: var(--yellow);
}

#homepage-intro .text-con {
  position: relative;
  z-index: 10;
  height: 100%;
}

.vertically-centered {
  position: relative;
  height: 100%;
  margin: auto;
  text-align: center;
}

.vertically-centered h2 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 620px ;
  width: 100%;
}

.big-logo {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 50px;
}

.big-logo img {
  position: relative;
  width: 100%;
}

.koble-cover {
  background: url(images/Koble-cover-mockup.jpg) 100% 50%;
  background-size: cover;
  flex: 1 1 50%;
}

.vertical-padding-big {
  padding: 150px 0;
}

#koble-info .img-half-width {
  height: 700px;
}

#koble-info .text-con {
  flex: 1 1 50%;
  padding: 0 7vw;
  margin: auto 0;
}

#koble-info .img-half-width h1,
#koble-info .img-half-width p,
#koble-info .big-line-spacer {
  max-width: 380px;
  margin-right: auto;
}

.big-line-spacer {
  display: block;
  background-color: var(--black);
  height: 1px;
  width: 100%;
  margin: 25px 0;
}

.big-button {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  border-radius: 0.6em;
  padding: 18px 22px;
  gap: 50px;
  margin-top: 100px;
  color: var(--black);
  transition: all 0.2s ease;
}

.outline {
  border: 2px solid var(--black);
  transition: all 0.2s ease;
}

.big-button .caption {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-left: 2px;
}

.big-button .button-label {
  font-size: 30px;
  line-height: 1em;
  margin-top: 6px;
}

.big-button-text {
  flex: 0 0 auto;
}

.btn-arrow {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.big-button.outline:hover {
  border: 2px solid var(--red);
  color: var(--red);
  transition: all 0.2s ease;
}

#missional-landscape {
  margin: 150px auto 0 auto;
}

.two-col {
  display: flex;
  flex-direction: row;
  gap: 50px;
  padding: 0 7vw;
}

#missional-landscape {
  justify-content: center;
  align-items: center;
}

#network-diagram {
  flex: 0 0 400px;
}

#network-diagram img {
  width: 100%;
}

#missional-text {
  flex: 0 1 590px;
}

#topics-list .img-half-width {
  grid-column-start: 2;
  justify-content: space-between;
  gap: 50px;
}

#topic-list-con {
  flex: 0 1 450px;
}

#topics-list .text-con {
  flex: 0 1 450px;
}

.menu-list {
  position: relative;
  display: block;
  list-style: none;
}

.menu-list li {
  border-top: 2px solid rgb(117,175,142);
  padding: 15px 10px;

  font-family: 'Helvetica', sans-serif;
  color: rgb(117,175,142);
  font-weight: 500;
  text-decoration: none;
  font-size: 20px;
  line-height: 1em;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.menu-list li:last-child {
  border-bottom: 2px solid rgb(117,175,142);
}

.menu-list li:hover, .menu-list li.active {
  color: rgb(255,255,255);
  border-top: 2px solid rgb(255,255,255);
  cursor: pointer;
  transition: all 0.25s ease;
}

.list-info {
  font-size: 16px;
  letter-spacing: 0.015em;
  line-height: 1.3em;
  pading-top: 0px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease-out;
}

.active .list-info {
  opacity: 1;
  max-height: 100px;
  padding-top: 10px;
  transition: all 0.5s ease-out;
}

.list-info p {
  margin: 0;
  padding: 0;
  transform: translateY(-100%);
  transition: all 0.31s ease-out;
}

.active .list-info p {
  transform: translateY(0px);
  transition: all 0.31s ease-out;
}

.medium-button {
  position: relative;
  display: inline-block;
  border-radius: 0.2em;
  padding: 10px 28px;
  margin-top: 100px;
  background-color: var(--black);
  font-size: 1.2em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.medium-button.green {
  background-color: var(--black);
  color: var(--green);
  border: 2px solid var(--black);
  transition: all 0.2s ease-in-out;
}

.medium-button.green:hover {
  background-color: var(--green);
  color: var(--black);
  transition: all 0.2s ease-in-out;
}

.koble-legs {
  background: url(images/walking-man.jpg) 50% 50%;
  background-size: cover;
  flex: 1 1 50%;
}

#koble-info-2 .text-con {
  padding: 150px 7vw;
  flex: 1 1 50%;
  margin: auto 0;
}

#koble-info-2 .text-con > * {
  max-width: 380px;
  margin-right: auto;
  color: var(--green);
}




footer {
  background: var(--black);
  color: var(--white);
  padding: 7vw;
}

footer .big-logo {
  position: relative;
  margin: 0 0 100px 0;
}

footer p {
  font-size: 0.8em;
  max-width: 400px;
}

footer p a {
  text-decoration: underline;
}

footer .text-con {
  padding: 0;
}

/*********************** MEDIA QUERIES **************************/

@media (max-width: 1000px) {
  
  h1 {
    font-size: calc(1.63vw + 38.74px);
  }

  h2 {
    font-size: calc(1.63vw + 28.74px);
  }

  .img-half-width {
    flex-direction: column;
  }

  .text-con {
    padding: 0 7vw;
  }

  #koble-info .img-half-width {
    height: auto;
    flex-direction: column-reverse;
  }

  .koble-cover {
    height: 600px;
    background: url(images/Koble-cover-mockup.jpg) 80% 50%;
    background-size: cover;
    flex: 1 1 auto;
  }

  #koble-info .text-con {
    margin-bottom: 100px;
  }

  .big-button {
    gap: 35px;
    padding: 15px 18px;
  }

  .big-button .caption {
    font-size: 10px;
    margin-left: 2px;
  }

  .big-button .button-label {
    font-size: 24px;
  }

  .btn-arrow svg {
    height: 20.8px;
    width: 24px;
  }

  #topics-list .text-con {
    flex: 0 1 auto;
    padding: 0;
  }

  #koble-info-2 .img-half-width {
    flex-direction: column-reverse;
  }

  .koble-legs {
    flex: 1 1 550px;
    position: relative;
  }

  .desktop {
    display: none;
  } 

  .mobile {
    display: block;
  }

  #koble-legs-header {
    position: absolute;
    bottom: 7vw;
    left: 7vw;
    max-width: 600px;
    color: var(--white);
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.45);
  }

  #koble-info-2 .text-con {
    padding: 7vw 7vw 14vw 7vw;
  }

  #koble-info-2 .text-con > *,
  #topics-list .img-half-width > * {
    max-width: 500px;
  }

  #koble-info-2 ul {
      padding-inline-start: 1em;
  }
}

@media (max-width: 800px) {

.two-col {
  flex-direction: column-reverse;
}

#missional-landscape {
  justify-content: center;
  align-items: center;
}

#network-diagram {
  flex: 0 1 auto;
}

#missional-text {
  flex: 0 1 auto;
}
}